package com.xa.xamall.framework.mapper;


import com.xa.xamall.framework.mapper.custom.DynamicMapper;
import com.xa.xamall.framework.mapper.custom.ExistsMapper;
import tk.mybatis.mapper.common.ConditionMapper;
import tk.mybatis.mapper.common.IdsMapper;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

/**
 * 继承所有 Mapper<T> 接口：
 * 1.Mapper继承了base组合接口中的 BaseSelectMapper<T>、BaseInsertMapper<T>、BaseUpdateMapper<T>和BaseDeleteMapper<T> 4个组合接口
 * 2.Condition组合接口
 * 3.MySQL专用接口
 * 4.Ids接口，通过操作ids字符串进行操作，ids 如 "1,2,3" 这种形式的字符串
 * 5.自定义验证某字段值是否存在接口：ExistsMapper<T>
 * 6.自定义动态拼接SQL接口：DynamicMapper<T>
 * @param <T>
 */
public interface MyMapper<T> extends Mapper<T>, ConditionMapper<T>, MySqlMapper<T>, IdsMapper<T>, ExistsMapper<T>, DynamicMapper<T> {

}